//
//  ProfileViewController.swift
//  LCYWeiBo
//
//  Created by 李长友 on 16/8/30.
//  Copyright © 2016年 app. All rights reserved.
//

import UIKit

class ProfileViewController: BaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        visitorView.setupVisitorViewContent("visitordiscover_image_profile", title: "登录后，你的微博、相册、个人资料会显示在这里，展示给别人")
        
//        navigationItem.rightBarButtonItem = UIBarButtonItem.init(title: "退出", style: .Plain, target: self, action: #selector(ProfileViewController.rightBarButtonClick))
        
    }


}

// MARK: - 按钮点击事件
extension ProfileViewController {
    @objc private func rightBarButtonClick() {
        UserViewModel.shareInstance.isLogin = false
    }
}

// MARK: - Table view data source
extension ProfileViewController {
    
    override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
        return 0
    }
    
    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return 0
    }
}
